home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-12-31 | 1.2 KB | 46 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="System\Advanced System Settings"
- "NAME"="Windows Quick Reboot"
- "VERSION"="1.08"
- "OSVERSION"="01000"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Enable CTRL+SHIFT+ALT+DEL quick reboot"
- "DESCRIPTION 1"="Activating this option allows you to press CTRL+SHIFT+ALT+DEL to reboot your PC."
- "DESCRIPTION 2"="The "normal" CTRL+ALT+DEL will still show the "Windows NT Security" screen."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="Thanks to Chris [CGMT@flashmail.com] for the "non-NT but not disabled" bug notice. "
-
-
- sPath="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\"
- sV1="EnableQuickReboot"
- Sub Plugin_Initialize
- i=RegReadValue(sPath & sV1)
- if i=1 then
- SetUIElement 1,true
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sPAth & sV1,1,1)
- else
- Call RegWriteValue(sPAth & sV1,0,1)
- end if
-
- Call Restart()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-